The Event Notification Pattern - Integrating Implicit Invocation with Object-Orientation

نویسنده

  • Dirk Riehle
چکیده

Managing inter-object dependencies in object-oriented systems is a complex task. Changes of one object often require dependent objects to change accordingly. Making every object explicitly inform every dependent object about its state changes intertwines object interfaces and implementations, thereby hampering system evolution and maintenance. These problems can be overcome by introducing the notion of Implicit Invocation to object-oriented systems as a decoupling mechanism between objects. This paper presents the Event Notification pattern, a pattern to smoothly integrate implicit invocation mechanisms with object-oriented designs. State changes of objects, dependencies of other objects on them and the maintenance links between these objects are made explicit as first class objects. The resulting structure is highly flexible and can be used to manage inter-object dependencies in object-oriented systems efficiently.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Aspect Reasoning by Reduction to Implicit Invocation

Aspect-oriented programming constructs complicate reasoning about program behavior. Our position is that we can reduce key elements of aspect programming to implicit invocation (II) and then use existing work on reasoning about II to reason formally about aspect programs. We map aspect-oriented programs to equivalent programs with join points and advice replaced by event notifications and obser...

متن کامل

An Object-Oriented Event Calculus

Despite the rising popularity and usefulness of events, or implicit invocation, in software design, the availability of general-purpose event mechanisms are rare. Further, most event mechanisms available for software design are implemented as libraries or sets of macros that are constrained by the language in which they are used; making such mechanisms inconvenient to use as well as error-prone...

متن کامل

Adding Implicit Invocation to Languages: Three Approaches

Implicit invocation based on event announcement is an increasingly important technique for integrating systems. However, the use of this technique has largely been con ned to tool integration systems|in which tools exist as independent processes|and special-purpose languages|in which specialized forms of event broadcast are designed into the language from the start. This paper broadens the clas...

متن کامل

A Formal Approach to Event-Based Architectures

We develop a formal approach to event-based architectures that serves two main purposes: to characterise the modularisation properties that result from the algebraic structures induced on systems by this discipline of coordination; and to further validate and extend the CommUnity approach to architectural modelling with “implicit invocation”, or “publish/subscribe” interactions. This is a first...

متن کامل

Interconnection of Distributed Components:

From design and manufacturing to electronic commerce, coordinating business activities in engineering applications requires accessing data and software from distributed sources. The Common Object Request Broker Architecture (CORBA) of the Object Management Group emerged in the 1990’s as a standard for access to distributed software components. Since that time, the standard has matured significa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • TAPOS

دوره 2  شماره 

صفحات  -

تاریخ انتشار 1996